package com.example.xd.model_video.videoeditlib.editVideoPlay;

import org.litepal.crud.DataSupport;

/**
 * Created by cangc on 2018/4/10.
 */

public class VideoItemTB extends DataSupport{
    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public String getVideoName() {
        return videoName;
    }

    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    public String getVideoURL() {
        return videoURL;
    }

    public void setVideoURL(String videoURL) {
        this.videoURL = videoURL;
    }

    public String getVideoThumbURL() {
        return videoThumbURL;
    }

    public void setVideoThumbURL(String videoThumbURL) {
        this.videoThumbURL = videoThumbURL;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPicURL() {
        return userPicURL;
    }

    public void setUserPicURL(String userPicURL) {
        this.userPicURL = userPicURL;
    }

    public int getCollectNumber() {
        return collectNumber;
    }

    public void setCollectNumber(int collectNumber) {
        this.collectNumber = collectNumber;
    }

    public boolean isCollected() {
        return collected;
    }

    public void setCollected(boolean collected) {
        this.collected = collected;
    }

    public int getCommentsNumber() {
        return commentsNumber;
    }

    public void setCommentsNumber(int commentsNumber) {
        this.commentsNumber = commentsNumber;
    }

    public int getWatchedTimes() {
        return watchedTimes;
    }

    public void setWatchedTimes(int watchedTimes) {
        this.watchedTimes = watchedTimes;
    }

    public String getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(String releaseDate) {
        this.releaseDate = releaseDate;
    }

    private String videoId;
    private String videoName;
    private String videoURL;
    private String videoThumbURL;
    private String userName;
    private String userPicURL;
    private String phoneNumber;
    private String releaseDate;
    private int collectNumber;
    private boolean collected;
    private int commentsNumber;
    private int watchedTimes;

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    private int progress;

    public int getDate() {
        return date;
    }

    public void setDate(int date) {
        this.date = date;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    private int date;
    private int month;

    //0 已上传 1 已完成未上传 2 未完成 3 彩秀历史记录
    private int status;

    public VideoItemTB() {

    }

    public VideoItemTB(String videoId, String videoName, String videoURL, String videoThumbURL, String userName, String userPicURL, int collectNumber, boolean collected, int commentsNumber, int watchedTimes, int date, int month, String phoneNumber, String releaseDate) {
        this.videoId = videoId;
        this.videoName = videoName;
        this.videoURL = videoURL;
        this.videoThumbURL = videoThumbURL;
        this.userName = userName;
        this.userPicURL = userPicURL;
        this.collectNumber = collectNumber;
        this.collected = collected;
        this.commentsNumber = commentsNumber;
        this.watchedTimes = watchedTimes;
        this.date = date;
        this.month = month;
        this.status = 0;
        this.phoneNumber = phoneNumber;
        this.releaseDate = releaseDate;

    }

    public VideoItemTB(String videoId, String videoName, String videoURL, String videoThumbURL, String userName, String userPicURL, int collectNumber, boolean collected, int commentsNumber, int watchedTimes, int date, int month, int status, String phoneNumber, String releaseDate, int progress) {
        this.videoId = videoId;
        this.videoName = videoName;
        this.videoURL = videoURL;
        this.videoThumbURL = videoThumbURL;
        this.userName = userName;
        this.userPicURL = userPicURL;
        this.collectNumber = collectNumber;
        this.collected = collected;
        this.commentsNumber = commentsNumber;
        this.watchedTimes = watchedTimes;
        this.date = date;
        this.month = month;
        this.status = status;
        this.phoneNumber = phoneNumber;
        this.releaseDate = releaseDate;
        this.progress = progress;
    }

    @Override
    public String toString() {
        return "VideoItemTB{" +
                "videoId='" + videoId + '\'' +
                ", videoName='" + videoName + '\'' +
                ", videoURL='" + videoURL + '\'' +
                ", videoThumbURL='" + videoThumbURL + '\'' +
                ", userName='" + userName + '\'' +
                ", userPicURL='" + userPicURL + '\'' +
                ", releaseDate='" + releaseDate + '\'' +
                ", collectNumber=" + collectNumber +
                ", collected=" + collected +
                ", commentsNumber=" + commentsNumber +
                ", watchedTimes=" + watchedTimes +
                ", date=" + date +
                ", month=" + month +
                '}';
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
}
